home *** CD-ROM | disk | FTP | other *** search
/ A.C.E. 1 / ACE CD 1.iso / files / games / m-z / marvinm1.dms / marvinm1.adf / HD-Install < prev    next >
Text File  |  1994-11-13  |  8KB  |  408 lines

  1.  
  2. ;
  3. ; Marvin's Marvellous Adventure
  4. ; © 21st Century Entertainment, Ltd.
  5. ; written by Florian W. Sauer
  6. ;            Tobias Prinz
  7. ;            MegaLoMania
  8. ;
  9. ; HD INSTALLER V1.0 - Samstag 12-Nov-94 00:13:40
  10. ; ~~~~~~~~~~~~~~~~~
  11.  
  12. (complete 0)
  13.  
  14. (message "MARVIN'S MARVELLOUS ADVENTURE is going to be installed to your hard drive.\n\n"
  15.          "This game will need about 6.5 MB of diskspace and about 1.8MB of graphics memory.\n\n"
  16.      "When running 'Marvin' from hard drive, please make sure that there is enough graphics "
  17.      "memory available. A better choice is a memory expansion which also makes "
  18.      "your AMIGA(tm) twice as fast !\n\n\n"
  19.      "Select PROCEED if you want to continue, hit ABORT otherwise."
  20. )
  21.  
  22. (set name
  23.     (askdir
  24.         (prompt "Please select a location for installing the game.\nThe installer will create a directory 'MARVIN', containing all game data, at this location.")
  25.         (help @askdir-help)
  26.         (default "WORK:")
  27.     )
  28. )
  29.  
  30. ; get volume/directory name correctly...
  31.  
  32. (if (= (substr name (- (strlen name) 1) 1) ":")
  33.     (set dummy "42" )
  34.     (set name (cat name "/") )
  35. )
  36.  
  37. (set @default-dest name)
  38.  
  39. (if (< (getdiskspace name) 6500000)
  40.     (abort "Ouups... There is not enough diskspace avaiable.\n\nPlease select an other directory or device.")
  41.     (set dummy "42")
  42. )
  43.  
  44. (if (exists "sys:Prefs/Env-Archive/Sys"    (noreq))
  45.     (if (exists "sys:prefs/env-archive/sys/nv_location" (noreq))
  46.         (message "YEAH !\n\nYou've an NV-STORAGE already installed.\nThat's pretty cool.\n\n"
  47.                      "Marvin's Marvellous Adventure will use this..."
  48.         )
  49.         (
  50.             (makedir "sys:prefs/nonvolatile"
  51.                 (prompt "I will now create the directories for the NV-STORAGE.")
  52.                 (help @makedir-help)
  53.                 (infos)
  54.             )
  55.             (textfile
  56.                 (dest "sys:prefs/env-archive/sys/nv_location")
  57.                 (prompt "Creating your NV-STORAGE.")
  58.                 (help "This installs a NV-STORAGE for OS3.1 onto your hard drive.")
  59.                 (append "sys:prefs/nonvolatile")
  60.             )
  61.         )
  62.     )
  63.     (message "Upps...\n\nYour Workbench(tm) System Software seems not to be installed correctly !\n\n"
  64.                  "However, this does *NOT* affect this installation procedure."
  65.     )
  66. )
  67.  
  68. (makedir (cat name "Marvin")
  69.     (prompt "I will now create the directories for the game.")
  70.     (help @makedir-help)
  71.     (infos)
  72.     (confirm)
  73. )
  74.  
  75. (makedir (cat name "Marvin/cdraw")
  76.     (prompt "I will now create the directories for the game.")
  77.     (help @makedir-help)
  78. )
  79.  
  80. (makedir (cat name "Marvin/mlevs")
  81.     (prompt "I will now create the directories for the game.")
  82.     (help @makedir-help)
  83. )
  84.  
  85. (makedir (cat name "Marvin/music")
  86.     (prompt "I will now create the directories for the game.")
  87.     (help @makedir-help)
  88. )
  89.  
  90. (makedir (cat name "Marvin/languages")
  91.     (prompt "I will now create the directories for the game.")
  92.     (help @makedir-help)
  93. )
  94.  
  95. (complete 5)
  96.  
  97. (copyfiles
  98.     (optional "askuser")
  99.     (files)
  100.     (prompt "Copying program files...")
  101.     (help @copyfiles-help)
  102.     (source "MMA_DISKY_BOOT:")
  103.     (dest (cat name "Marvin/") )
  104.     (infos)
  105.     (pattern "marv#?")
  106.     (confirm)
  107. )
  108.  
  109. (copylib
  110.     (optional "askuser")
  111.     (prompt "Copying libraries...")
  112.     (help @copylib-help)
  113.     (source "MMA_DISKY_BOOT:libs/color_fx.library")
  114.     (dest "libs:")
  115.     (confirm)
  116. )
  117.  
  118. (complete 10)
  119.  
  120. (copylib
  121.     (optional "askuser")
  122.     (prompt "Copying libraries...")
  123.     (help @copylib-help)
  124.     (source "MMA_DISKY_BOOT:libs/lowlevel.library")
  125.     (dest "libs:")
  126.     (confirm)
  127. )
  128.  
  129. (copylib
  130.     (optional "askuser")
  131.     (prompt "Copying libraries...")
  132.     (help @copylib-help)
  133.     (source "MMA_DISKY_BOOT:libs/nonvolatile.library")
  134.     (dest "libs:")
  135.     (confirm)
  136. )
  137.  
  138. (complete 15)
  139.  
  140. (copylib
  141.     (optional "askuser")
  142.     (prompt "Copying libraries...")
  143.     (help @copylib-help)
  144.     (source "MMA_DISKY_BOOT:libs/mathieeedoubtrans.library")
  145.     (dest "libs:")
  146.     (confirm)
  147. )
  148.  
  149. (copylib
  150.     (optional "askuser")
  151.     (prompt "Copying libraries...")
  152.     (help @copylib-help)
  153.     (source "MMA_DISKY_BOOT:libs/mathieeedoubbas.library")
  154.     (dest "libs:")
  155.     (confirm)
  156. )
  157.  
  158. (complete 20)
  159.  
  160. (copyfiles
  161.     (optional "force")
  162.     (prompt "Copying map files...")
  163.     (help @copyfiles-help)
  164.     (source "MMA_DISKY_BOOT:mlevs")
  165.     (dest (cat name "Marvin/mlevs") )
  166.     (pattern "#?")
  167.     (files)
  168. )
  169.  
  170. (complete 25)
  171.  
  172. (copyfiles
  173.     (optional "force")
  174.     (prompt "Copying language files...")
  175.     (help @copyfiles-help)
  176.     (source "MMA_DISKY_BOOT:languages")
  177.     (dest (cat name "Marvin/languages") )
  178.     (pattern "#?")
  179.     (files)
  180. )
  181.  
  182. (complete 30)
  183.  
  184. ; BUILD WORK FILE
  185.  
  186. (copyfiles
  187.     (optional "askuser")
  188.     (prompt "Copying program files...")
  189.     (help @copyfiles-help)
  190.     (source "MMA_DISKY_BOOT:c/")
  191.     (dest "ram:")
  192.     (pattern "#?")
  193. )
  194.  
  195. (copyfiles
  196.     (optional "askuser")
  197.     (prompt "Copying program files...")
  198.     (help @copyfiles-help)
  199.     (source "MMA_DISKY_BOOT:")
  200.     (dest (cat name "Marvin/") )
  201.     (pattern "prog#?")
  202. )
  203.  
  204. (working "\nUnpacking MC68020 program file..."
  205. )
  206.  
  207. (run (cat "ram:unpacker2 d " (cat name "Marvin/prog.atom ") (cat name "Marvin/work"))
  208.     (help "This will unpack the executable to your hard drive.")
  209.     (prompt "Unpacking program files...")
  210. )
  211.  
  212. (complete 35)
  213.  
  214. (delete (cat name "Marvin/prog.atom")
  215.     (help "This will cleanup...")
  216.     (prompt "Unpacking program files...")
  217. )
  218.  
  219. (complete 40)
  220.  
  221. (delete "ram:iconx"
  222.     (help "This will cleanup your RAMDISK.")
  223.     (prompt "Unpacking program files...")
  224. )
  225.  
  226. (complete 42)
  227.  
  228. (delete "ram:setpatch"
  229.     (help "This will cleanup your RAMDISK.")
  230.     (prompt "Unpacking program files...")
  231. )
  232.  
  233. ;----------- build of work complete...
  234.  
  235. (askdisk
  236.     (prompt "\nPlease insert disk two." )
  237.     (help @askdisk-help )
  238.     (dest "MMA_DISKY_ONE" )
  239. )
  240.  
  241. (complete 43)
  242.  
  243. (copyfiles
  244.     (optional "force")
  245.     (prompt "Copying graphic files...")
  246.     (help @copyfiles-help)
  247.     (source "MMA_DISKY_ONE:cdraw")
  248.     (dest (cat name "Marvin/cdraw") )
  249.     (pattern "#?")
  250.     (files)
  251. )
  252.  
  253. (complete 45)
  254.  
  255. (copyfiles
  256.     (optional "force")
  257.     (prompt "Copying map files...")
  258.     (help @copyfiles-help)
  259.     (source "MMA_DISKY_ONE:mlevs")
  260.     (dest (cat name "Marvin/mlevs") )
  261.     (pattern "#?")
  262.     (files)
  263. )
  264.  
  265. (copyfiles
  266.     (optional "force")
  267.     (prompt "Copying music files...")
  268.     (help @copyfiles-help)
  269.     (source "MMA_DISKY_ONE:music")
  270.     (dest (cat name "Marvin/music") )
  271.     (pattern "#?")
  272.     (files)
  273. )
  274.  
  275. (complete 50)
  276.  
  277. (askdisk
  278.     (prompt "\nPlease insert disk three.")
  279.     (help @askdisk-help)
  280.     (dest "MMA_DISKY_TWO")
  281. )
  282.  
  283. (copyfiles
  284.     (optional "force")
  285.     (prompt "Copying graphic files...")
  286.     (help @copyfiles-help)
  287.     (source "MMA_DISKY_TWO:cdraw")
  288.     (dest (cat name "Marvin/cdraw") )
  289.     (pattern "#?")
  290.     (files)
  291. )
  292.  
  293. (complete 55)
  294.  
  295. (copyfiles
  296.     (optional "force")
  297.     (prompt "Copying map files...")
  298.     (help @copyfiles-help)
  299.     (source "MMA_DISKY_TWO:mlevs")
  300.     (dest (cat name "Marvin/mlevs") )
  301.     (pattern "#?")
  302.     (files)
  303. )
  304.  
  305. (complete 65)
  306.  
  307. (copyfiles
  308.     (optional "force")
  309.     (prompt "Copying music files...")
  310.     (help @copyfiles-help)
  311.     (source "MMA_DISKY_TWO:music")
  312.     (dest (cat name "Marvin/music") )
  313.     (pattern "#?")
  314.     (files)
  315. )
  316.  
  317. (complete 75)
  318.  
  319. (askdisk
  320.     (prompt "\nPlease insert disk four.")
  321.     (help @askdisk-help)
  322.     (dest "MMA_DISKY_THREE")
  323. )
  324.  
  325. (copyfiles
  326.     (optional "force")
  327.     (prompt "Copying graphic files...")
  328.     (help @copyfiles-help)
  329.     (source "MMA_DISKY_THREE:cdraw")
  330.     (dest (cat name "Marvin/cdraw") )
  331.     (pattern "#?")
  332.     (files)
  333. )
  334.  
  335. (complete 80)
  336.  
  337. (copyfiles
  338.     (optional "force")
  339.     (prompt "Copying map files...")
  340.     (help @copyfiles-help)
  341.     (source "MMA_DISKY_THREE:mlevs")
  342.     (dest (cat name "Marvin/mlevs") )
  343.     (pattern "#?")
  344.     (files)
  345. )
  346.  
  347. (complete 85)
  348.  
  349. (copyfiles
  350.     (optional "force")
  351.     (prompt "Copying music files...")
  352.     (help @copyfiles-help)
  353.     (source "MMA_DISKY_THREE:music")
  354.     (dest (cat name "Marvin/music") )
  355.     (pattern "#?")
  356.     (files)
  357. )
  358.  
  359. (complete 90)
  360.  
  361. (working "Unpacking Graphics...")
  362. (foreach (cat name "Marvin/cdraw/") "#?" 
  363.     (
  364.         (run (cat "ram:unpacker file " name "Marvin/cdraw/" @each-name) )
  365.     )
  366. )
  367.  
  368. (complete 92)
  369.  
  370. (working "Unpacking Maps...")
  371. (foreach (cat name "Marvin/mlevs/") "#?" 
  372.     (
  373.         (run (cat "ram:unpacker file " name "Marvin/mlevs/" @each-name) )
  374.     )
  375. )
  376.  
  377. (complete 94)
  378.  
  379. (working "Unpacking Music...")
  380. (foreach (cat name "Marvin/music/") "#?" 
  381.     (
  382.         (run (cat "ram:unpacker file " name "Marvin/music/" @each-name) )
  383.     )
  384. )
  385.  
  386. (complete 96)
  387.  
  388. (working "Unpacking Languages...")
  389. (foreach (cat name "Marvin/languages/") "#?" 
  390.     (
  391.         (run (cat "ram:unpacker file " name "Marvin/languages/" @each-name) )
  392.     )
  393. )
  394.  
  395. (complete 98)
  396.  
  397. (delete "ram:unpacker"
  398.     (help "This will cleanup your RAMDISK.")
  399.     (prompt "Cleanup...")
  400. )
  401.  
  402. (complete 100)
  403.  
  404. (message "The people who had made this game wish you much fun playing it !\n\n"
  405.      "Florian W. Sauer\nTobias Prinz\nNils Ruzika\nBarry Simpson\nStewart Gilray"
  406. )
  407.